x86: On CPU online/offline from dom0, try flushing RCU work on EBUSY.
authorKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 14:19:55 +0000 (14:19 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 14:19:55 +0000 (14:19 +0000)
commit00e9c7bcb6397e85a8596cda619997982b6411e7
tree883da4d5780df6f5278cf3b88b97f05a1798aba5
parent9d9af7dca878fb6f85ddf3cf3cb43df273f6b5a0
x86: On CPU online/offline from dom0, try flushing RCU work on EBUSY.

Although the caller should react appropriately to EBUSY, if the error
is due to pending RCU work then we can help things along by executing
rcu_barrier() and then retrying. To this end, this changeset is an
optimisation only.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/platform_hypercall.c
xen/arch/x86/sysctl.c